DF

Section: User Commands (1)
Updated: April 29, 1985
Index Return to Main Contents
 

NAME

df - report free disk space on file systems  

SYNOPSIS

df [ -i ] [ filesystem ... ] [ file ... ] [ -t type ] [ filesystem ... ] [ filename ... ]  

DESCRIPTION

df displays the amount of disk space occupied by currently mounted file systems, the amount of used and available space, and how much of the file system's total capacity has been used. Used without arguments, df reports on all mounted file systems, producing something like:

tutorial% df

Filesystem  kbytes  used  avail  capacity  Mounted on
/dev/ip0a    7445    4714 1986   70%       /
/dev/ip0g   42277   35291 2758   93%       /usr

Note that used+avail is less than the amount of space in the file system (kbytes); this is because the system reserves a fraction of the space in the file system to allow its file system allocation routines to work well. The amount reserved is typically about 10%; this may be adjusted using tunefs. When all the space on a file system except for this reserve is in use, only the super-user can allocate new files and data blocks to existing files. When a file system is overallocated in this way, df may report that the file system is more than 100% utilized.

If arguments to df are disk partitions (for example, /dev/ip0a) or UNIX path names, df produces a report on the file system containing the named file. Thus "df ." shows the amount of space on the file system containing the current directory.  

OPTIONS

-i
Also report the number of inodes which are used and free. This option is only meaningful for local file systems, since the NFS protocol does not support it.
-t type
Report on filesystems of a given type (for example, nfs or 4.2).
 

FILES

/etc/mtab  list of currently mounted filesystems
 

SEE ALSO

du(1V), mtab(5), quot(8), tunefs(8)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 17:19:21 GMT, March 25, 2025